<template>
  <div>
    <router-link to="/index">首页</router-link>&nbsp;
    <router-link to="/info">分类</router-link>&nbsp;
    <router-link to="/goods">商品</router-link>&nbsp;
    <router-link to="/login">体育</router-link>
    <h2>显示路由切换页面</h2>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style scoped></style>
